﻿using Omniscient.Foundation.Data;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Omniscient.TimeTracker.Data
{
    public class Client: EntityBase
    {
        public Client()
            : base()
        {
            Projects = new EntityList<Project>();
        }

        public Client(Guid id, bool entityIsLoaded)
            : base(id, entityIsLoaded)
        {
            Projects = new EntityList<Project>();
        }

        public Client(String companyName)
            : base()
        {
            CompanyName = companyName;
        }


        public string CompanyName{ get; set;}
        public string ContactName{ get; set; }
        public string Description{ get; set; }
        public EntityList<Project> Projects { get; private set; }

    }
}
